package xcmg.device.dao.entity.sale;

import java.math.BigDecimal;
import java.util.Date;

public class SaleIntentionDO {
    private String id;
    private String saleNo;
    private String purchaseNo;
    private String purchaseOrgId;

    private String purchaseOrgName;

    private String supplierOrgId;

    private String supplierOrgName;

    private String purchaseBillId;

    private String purchaseLevelId;

    private String purchaseLevelName;

    private String deliverTypeId;

    private String deliverTypeName;
    /**
     * 发货方式二级节点
     * addby huahuwei 2018-10-10
     * @return
     */
    private String sendTypeChildId;

    private String sendTypeChildName;

    private Integer createType;

    private String creatorId;
    private String createName;
    private Date createDate;

    private String status;

    private String deliverStatus;

    private String inventoryOutStatus;

    private String settleTypeId;

    private String settleTypeName;

    private BigDecimal totalSettlementPrice;

    private String receiverName;

    private String receiverPhone;

    private String receiverFax;

    private String receiveAddress;

    private String updatorId;

    private Date updateDate;

    private Integer isDel;

    private String remark;

    private String statusDes;

    private BigDecimal totalDiscountPrice;

    /**
     * 退货状态（0未退货，1退货中，2退货完成）
     */
    private Integer isReturn;

    /**
     * 0未申请，1申请中，2审核通过，3审核拒绝
     */
    private Integer applyReturn;

    private String country;

    private String region;

    private String contract;

    private Integer isSynPrice;

    private String model;//机型

    private String attachName;

    private Integer isLimit;

    /** 是否由直投订单生成 0否1是*/
    private Integer isDirect;

    private String purchaseTypeChildId;

    private String purchaseTypeChildName;

    /** 是否签收 0未签收1已签收*/
    private Integer isSign;

    /** 签收时间*/
    private Date signDate;

    private String sendOrder;

    /** 收货地址编码*/
    private String addressCode;

    /**
     * 售后状态(铲运电商)：0无售后信息，1退款，2退货
     */
    private Integer afterSaleStatus;


    /**
     * 是否缺货统计(0：否，1：是)
     */
    private Integer isStockoutStatistics;

    /**
     * 是否审核。0否，1是（目前仅基础用(19-12-06)，用于控制基础的发货通知单创建，默认空，显示上不影响其他厂家）
     */
    private Integer checkFlag;
    //crm单据号
    private String crmOrder;
    //pms原单号
    private String pmsCode;
    //销售仓库编码
    private String outWarehouse;

    /**尾差金额*/
    private BigDecimal cashShortAndOver;

    private String purchaseContractNo;

    private Date deliveryDate;
    /**是否前移*/
    private Integer forward;

    //目标主机厂
    private String targetOrgId;

    //目标主机厂名称
    private String targetOrgName;

    //销售渠道
    private Integer salesChannel;

    //同步ns系统状态 0 未同步 1 已同步
    private Integer syncNsStatus;

    //采购员id
    private String buyerId;

    //采购员名称
    private String buyerName;

    public BigDecimal getCashShortAndOver() {
        return cashShortAndOver;
    }

    public void setCashShortAndOver(BigDecimal cashShortAndOver) {
        this.cashShortAndOver = cashShortAndOver;
    }

    public String getOutWarehouse(){
        return outWarehouse;
    }

    public void setOutWarehouse(String outWarehouse){
        this.outWarehouse = outWarehouse;
    }

    public String getCrmOrder(){
        return crmOrder;
    }

    public void setCrmOrder(String crmOrder){
        this.crmOrder = crmOrder;
    }

    public String getPmsCode(){
        return pmsCode;
    }

    public void setPmsCode(String pmsCode){
        this.pmsCode = pmsCode;
    }

    public Integer getCheckFlag() {
        return checkFlag;
    }

    public void setCheckFlag(Integer checkFlag) {
        this.checkFlag = checkFlag;
    }

    public Integer getAfterSaleStatus() {
        return afterSaleStatus;
    }

    public void setAfterSaleStatus(Integer afterSaleStatus) {
        this.afterSaleStatus = afterSaleStatus;
    }

    public String getAddressCode() {
        return addressCode;
    }

    public void setAddressCode(String addressCode) {
        this.addressCode = addressCode;
    }


    public String getSendOrder() {
        return sendOrder;
    }

    public void setSendOrder(String sendOrder) {
        this.sendOrder = sendOrder;
    }

    public Integer getIsSign() {
        return isSign;
    }

    public void setIsSign(Integer isSign) {
        this.isSign = isSign;
    }

    public Date getSignDate() {
        return signDate;
    }

    public void setSignDate(Date signDate) {
        this.signDate = signDate;
    }

    public String getPurchaseTypeChildId() {
        return purchaseTypeChildId;
    }

    public void setPurchaseTypeChildId(String purchaseTypeChildId) {
        this.purchaseTypeChildId = purchaseTypeChildId;
    }

    public String getPurchaseTypeChildName() {
        return purchaseTypeChildName;
    }

    public void setPurchaseTypeChildName(String purchaseTypeChildName) {
        this.purchaseTypeChildName = purchaseTypeChildName;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public Integer getApplyReturn()
    {
        return applyReturn;
    }

    public void setApplyReturn(Integer applyReturn)
    {
        this.applyReturn = applyReturn;
    }

    public Integer getIsReturn()
    {
        return isReturn;
    }

    public void setIsReturn(Integer isReturn)
    {
        this.isReturn = isReturn;
    }

    public String getPurchaseNo() {
        return purchaseNo;
    }

    public void setPurchaseNo(String purchaseNo) {
        this.purchaseNo = purchaseNo;
    }

    public String getSaleNo() {
        return saleNo;
    }

    public void setSaleNo(String saleNo) {
        this.saleNo = saleNo;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getPurchaseOrgId() {
        return purchaseOrgId;
    }

    public void setPurchaseOrgId(String purchaseOrgId) {
        this.purchaseOrgId = purchaseOrgId == null ? null : purchaseOrgId.trim();
    }

    public String getPurchaseOrgName() {
        return purchaseOrgName;
    }

    public void setPurchaseOrgName(String purchaseOrgName) {
        this.purchaseOrgName = purchaseOrgName == null ? null : purchaseOrgName.trim();
    }

    public String getSupplierOrgId() {
        return supplierOrgId;
    }

    public void setSupplierOrgId(String supplierOrgId) {
        this.supplierOrgId = supplierOrgId == null ? null : supplierOrgId.trim();
    }

    public String getSupplierOrgName() {
        return supplierOrgName;
    }

    public void setSupplierOrgName(String supplierOrgName) {
        this.supplierOrgName = supplierOrgName == null ? null : supplierOrgName.trim();
    }

    public String getPurchaseBillId() {
        return purchaseBillId;
    }

    public void setPurchaseBillId(String purchaseBillId) {
        this.purchaseBillId = purchaseBillId == null ? null : purchaseBillId.trim();
    }

    public String getPurchaseLevelId() {
        return purchaseLevelId;
    }

    public void setPurchaseLevelId(String purchaseLevelId) {
        this.purchaseLevelId = purchaseLevelId == null ? null : purchaseLevelId.trim();
    }

    public String getPurchaseLevelName() {
        return purchaseLevelName;
    }

    public void setPurchaseLevelName(String purchaseLevelName) {
        this.purchaseLevelName = purchaseLevelName == null ? null : purchaseLevelName.trim();
    }

    public String getDeliverTypeId() {
        return deliverTypeId;
    }

    public void setDeliverTypeId(String deliverTypeId) {
        this.deliverTypeId = deliverTypeId == null ? null : deliverTypeId.trim();
    }

    public String getDeliverTypeName() {
        return deliverTypeName;
    }

    public void setDeliverTypeName(String deliverTypeName) {
        this.deliverTypeName = deliverTypeName == null ? null : deliverTypeName.trim();
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public String getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(String creatorId) {
        this.creatorId = creatorId == null ? null : creatorId.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getDeliverStatus() {
        return deliverStatus;
    }

    public void setDeliverStatus(String deliverStatus) {
        this.deliverStatus = deliverStatus;
    }

    public String getInventoryOutStatus() {
        return inventoryOutStatus;
    }

    public void setInventoryOutStatus(String inventoryOutStatus) {
        this.inventoryOutStatus = inventoryOutStatus;
    }

    public String getSettleTypeId() {
        return settleTypeId;
    }

    public void setSettleTypeId(String settleTypeId) {
        this.settleTypeId = settleTypeId == null ? null : settleTypeId.trim();
    }

    public String getSettleTypeName() {
        return settleTypeName;
    }

    public void setSettleTypeName(String settleTypeName) {
        this.settleTypeName = settleTypeName == null ? null : settleTypeName.trim();
    }


    public String getReceiverName() {
        return receiverName;
    }

    public void setReceiverName(String receiverName) {
        this.receiverName = receiverName == null ? null : receiverName.trim();
    }

    public String getReceiverPhone() {
        return receiverPhone;
    }

    public void setReceiverPhone(String receiverPhone) {
        this.receiverPhone = receiverPhone == null ? null : receiverPhone.trim();
    }

    public String getReceiverFax() {
        return receiverFax;
    }

    public void setReceiverFax(String receiverFax) {
        this.receiverFax = receiverFax == null ? null : receiverFax.trim();
    }

    public String getReceiveAddress() {
        return receiveAddress;
    }

    public void setReceiveAddress(String receiveAddress) {
        this.receiveAddress = receiveAddress == null ? null : receiveAddress.trim();
    }

    public String getUpdatorId() {
        return updatorId;
    }

    public void setUpdatorId(String updatorId) {
        this.updatorId = updatorId == null ? null : updatorId.trim();
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }


    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getStatusDes() {
        return statusDes;
    }

    public void setStatusDes(String statusDes) {
        this.statusDes = statusDes == null ? null : statusDes.trim();
    }

    public Integer getCreateType() {
        return createType;
    }

    public void setCreateType(Integer createType) {
        this.createType = createType;
    }

    public BigDecimal getTotalSettlementPrice() {
        return totalSettlementPrice;
    }

    public void setTotalSettlementPrice(BigDecimal totalSettlementPrice) {
        this.totalSettlementPrice = totalSettlementPrice;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    public BigDecimal getTotalDiscountPrice() {
        return totalDiscountPrice;
    }

    public void setTotalDiscountPrice(BigDecimal totalDiscountPrice) {
        this.totalDiscountPrice = totalDiscountPrice;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public String getContract() {
        return contract;
    }

    public void setContract(String contract) {
        this.contract = contract;
    }

    public Integer getIsSynPrice() {
        return isSynPrice;
    }

    public void setIsSynPrice(Integer isSynPrice) {
        this.isSynPrice = isSynPrice;
    }

    public String getAttachName() {
        return attachName;
    }

    public void setAttachName(String attachName) {
        this.attachName = attachName;
    }

    public Integer getIsLimit() {
        return isLimit;
    }

    public void setIsLimit(Integer isLimit) {
        this.isLimit = isLimit;
    }

    public Integer getIsDirect() {
        return isDirect;
    }

    public void setIsDirect(Integer isDirect) {
        this.isDirect = isDirect;
    }

    public String getSendTypeChildId() {
        return sendTypeChildId;
    }

    public void setSendTypeChildId(String sendTypeChildId) {
        this.sendTypeChildId = sendTypeChildId;
    }

    public String getSendTypeChildName() {
        return sendTypeChildName;
    }

    public void setSendTypeChildName(String sendTypeChildName) {
        this.sendTypeChildName = sendTypeChildName;
    }

    public Integer getIsStockoutStatistics() {
        return isStockoutStatistics;
    }

    public void setIsStockoutStatistics(Integer isStockoutStatistics) {
        this.isStockoutStatistics = isStockoutStatistics;
    }

    public String getPurchaseContractNo() {
        return purchaseContractNo;
    }

    public void setPurchaseContractNo(String purchaseContractNo) {
        this.purchaseContractNo = purchaseContractNo;
    }

    public Date getDeliveryDate() {
        return deliveryDate;
    }

    public void setDeliveryDate(Date deliveryDate) {
        this.deliveryDate = deliveryDate;
    }

    public Integer getForward() {
        return forward;
    }

    public void setForward(Integer forward) {
        this.forward = forward;
    }

    public String getTargetOrgId() {
        return targetOrgId;
    }

    public void setTargetOrgId(String targetOrgId) {
        this.targetOrgId = targetOrgId;
    }

    public String getTargetOrgName() {
        return targetOrgName;
    }

    public void setTargetOrgName(String targetOrgName) {
        this.targetOrgName = targetOrgName;
    }

    public Integer getSalesChannel() {
        return salesChannel;
    }

    public void setSalesChannel(Integer salesChannel) {
        this.salesChannel = salesChannel;
    }

    public Integer getSyncNsStatus() {
        return syncNsStatus;
    }

    public void setSyncNsStatus(Integer syncNsStatus) {
        this.syncNsStatus = syncNsStatus;
    }

    public String getBuyerId() {
        return buyerId;
    }

    public void setBuyerId(String buyerId) {
        this.buyerId = buyerId;
    }

    public String getBuyerName() {
        return buyerName;
    }

    public void setBuyerName(String buyerName) {
        this.buyerName = buyerName;
    }
}
